3.463 \(\int x \left (c+d x+e x^2\right ) \left (a+b x^3\right )^p \, dx\)

Optimal. Leaf size=107 \[ \frac{c x^2 \left (a+b x^3\right )^{p+1} \, _2F_1\left (1,p+\frac{5}{3};\frac{5}{3};-\frac{b x^3}{a}\right )}{2 a}+\frac{d \left (a+b x^3\right )^{p+1}}{3 b (p+1)}+\frac{e x^4 \left (a+b x^3\right )^{p+1} \, _2F_1\left (1,p+\frac{7}{3};\frac{7}{3};-\frac{b x^3}{a}\right )}{4 a} \]

[Out]

(d*(a + b*x^3)^(1 + p))/(3*b*(1 + p)) + (c*x^2*(a + b*x^3)^(1 + p)*Hypergeometri
c2F1[1, 5/3 + p, 5/3, -((b*x^3)/a)])/(2*a) + (e*x^4*(a + b*x^3)^(1 + p)*Hypergeo
metric2F1[1, 7/3 + p, 7/3, -((b*x^3)/a)])/(4*a)

_______________________________________________________________________________________

Rubi [A]  time = 0.191935, antiderivative size = 125, normalized size of antiderivative = 1.17, number of steps used = 7, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19 \[ \frac{1}{2} c x^2 \left (a+b x^3\right )^p \left (\frac{b x^3}{a}+1\right )^{-p} \, _2F_1\left (\frac{2}{3},-p;\frac{5}{3};-\frac{b x^3}{a}\right )+\frac{d \left (a+b x^3\right )^{p+1}}{3 b (p+1)}+\frac{1}{4} e x^4 \left (a+b x^3\right )^p \left (\frac{b x^3}{a}+1\right )^{-p} \, _2F_1\left (\frac{4}{3},-p;\frac{7}{3};-\frac{b x^3}{a}\right ) \]

Antiderivative was successfully verified.

[In]  Int[x*(c + d*x + e*x^2)*(a + b*x^3)^p,x]

[Out]

(d*(a + b*x^3)^(1 + p))/(3*b*(1 + p)) + (c*x^2*(a + b*x^3)^p*Hypergeometric2F1[2
/3, -p, 5/3, -((b*x^3)/a)])/(2*(1 + (b*x^3)/a)^p) + (e*x^4*(a + b*x^3)^p*Hyperge
ometric2F1[4/3, -p, 7/3, -((b*x^3)/a)])/(4*(1 + (b*x^3)/a)^p)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 23.8972, size = 99, normalized size = 0.93 \[ \frac{c x^{2} \left (1 + \frac{b x^{3}}{a}\right )^{- p} \left (a + b x^{3}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - p, \frac{2}{3} \\ \frac{5}{3} \end{matrix}\middle |{- \frac{b x^{3}}{a}} \right )}}{2} + \frac{e x^{4} \left (1 + \frac{b x^{3}}{a}\right )^{- p} \left (a + b x^{3}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - p, \frac{4}{3} \\ \frac{7}{3} \end{matrix}\middle |{- \frac{b x^{3}}{a}} \right )}}{4} + \frac{d \left (a + b x^{3}\right )^{p + 1}}{3 b \left (p + 1\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x*(e*x**2+d*x+c)*(b*x**3+a)**p,x)

[Out]

c*x**2*(1 + b*x**3/a)**(-p)*(a + b*x**3)**p*hyper((-p, 2/3), (5/3,), -b*x**3/a)/
2 + e*x**4*(1 + b*x**3/a)**(-p)*(a + b*x**3)**p*hyper((-p, 4/3), (7/3,), -b*x**3
/a)/4 + d*(a + b*x**3)**(p + 1)/(3*b*(p + 1))

_______________________________________________________________________________________

Mathematica [A]  time = 0.124217, size = 131, normalized size = 1.22 \[ \frac{\left (a+b x^3\right )^p \left (\frac{b x^3}{a}+1\right )^{-p} \left (6 b c (p+1) x^2 \, _2F_1\left (\frac{2}{3},-p;\frac{5}{3};-\frac{b x^3}{a}\right )+4 d \left (b x^3 \left (\frac{b x^3}{a}+1\right )^p+a \left (\left (\frac{b x^3}{a}+1\right )^p-1\right )\right )+3 b e (p+1) x^4 \, _2F_1\left (\frac{4}{3},-p;\frac{7}{3};-\frac{b x^3}{a}\right )\right )}{12 b (p+1)} \]

Antiderivative was successfully verified.

[In]  Integrate[x*(c + d*x + e*x^2)*(a + b*x^3)^p,x]

[Out]

((a + b*x^3)^p*(4*d*(b*x^3*(1 + (b*x^3)/a)^p + a*(-1 + (1 + (b*x^3)/a)^p)) + 6*b
*c*(1 + p)*x^2*Hypergeometric2F1[2/3, -p, 5/3, -((b*x^3)/a)] + 3*b*e*(1 + p)*x^4
*Hypergeometric2F1[4/3, -p, 7/3, -((b*x^3)/a)]))/(12*b*(1 + p)*(1 + (b*x^3)/a)^p
)

_______________________________________________________________________________________

Maple [F]  time = 0.057, size = 0, normalized size = 0. \[ \int x \left ( e{x}^{2}+dx+c \right ) \left ( b{x}^{3}+a \right ) ^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x*(e*x^2+d*x+c)*(b*x^3+a)^p,x)

[Out]

int(x*(e*x^2+d*x+c)*(b*x^3+a)^p,x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (e x^{2} + d x + c\right )}{\left (b x^{3} + a\right )}^{p} x\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x^2 + d*x + c)*(b*x^3 + a)^p*x,x, algorithm="maxima")

[Out]

integrate((e*x^2 + d*x + c)*(b*x^3 + a)^p*x, x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (e x^{3} + d x^{2} + c x\right )}{\left (b x^{3} + a\right )}^{p}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x^2 + d*x + c)*(b*x^3 + a)^p*x,x, algorithm="fricas")

[Out]

integral((e*x^3 + d*x^2 + c*x)*(b*x^3 + a)^p, x)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x*(e*x**2+d*x+c)*(b*x**3+a)**p,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (e x^{2} + d x + c\right )}{\left (b x^{3} + a\right )}^{p} x\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x^2 + d*x + c)*(b*x^3 + a)^p*x,x, algorithm="giac")

[Out]

integrate((e*x^2 + d*x + c)*(b*x^3 + a)^p*x, x)